.container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container .main-box {
    width: 1000px;
    height: 700px;
    background-color: #ededed;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    z-index: 2;

}

.main-box .left-container {
    width: 270px;
    height: 100%;
    background-color: #2e3541;
    border-radius: 5px 0 0 5px;
}

.main-box .right-container {
    width: 730px;
    height: 100%;
    border-radius: 0 5px 5px 0;
    padding: 0 20px;
}

.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    /* background-image: url(../img/client_bgc2.png); */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    background-image: linear-gradient(120deg, #5a616d 0%, #b4afaf 100%);
}

.main-box .left-container .userinfo {
    width: 100%;
    height: 70px;
    line-height: 70px;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.main-box .left-container .userinfo img {
    width: 55px;
    height: 55px;
    margin-left: 10px;
    border-radius: 8px;
}

.main-box .left-container .userinfo p {
    width: 150px;
    padding-left: 10px;
    color: white;
    font-size: 17px;
}

#null-user {
    width: 100%;
    height: 30px;
    line-height: 30px;
    color: white;
    text-align: center;
    padding-top: 50px;
}

.main-box .left-container .in-line {
    width: 100%;
    height: 2px;
    background-color: #28292b;
    margin-top: 4px;
}

.main-box .left-container .search {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
}

.main-box .left-container .search input {
    background-color: #262930;
    width: 200px;
    height: 30px;
    outline: none;
    border: none;
    color: white;
    padding-left: 10px;
    border-radius: 5px 0 0 5px;
}

.main-box .left-container .search button {
    width: 30px;
    height: 30px;
    background-color: #262930;
    border: none;
    outline: none;
    background-image: url(../img/search_logo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 0 5px 5px 0;

}

.main-box .left-container .search button:hover {
    background-color: #151920;
    /* border-radius: 5px; */
}

.main-box .left-container .label {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    padding-bottom: 15px;
}

.main-box .left-container .label #apply-num {
    height: 15px;
    position: absolute;
    color: rgb(236, 164, 164);
    font-weight: bold;
    /* background-color: green; */
    left: 196px;
    top: 24px;
    font-size: 10px;
    /* border-radius: 10px; */
    padding: 0 2px;
    /* border: 2px solid red; */
    padding-bottom: 22px;
}



.main-box .left-container .label .session {
    width: 50%;
    height: 100%;
    background-image: url(../img/message_after.png);
    background-size: 30px 25px;
    background-repeat: no-repeat;
    background-position: center center;
}

.main-box .left-container .label .friend {
    width: 50%;
    height: 100%;
    background-image: url(../img/friend_before.png);
    background-size: 30px 25px;
    background-repeat: no-repeat;
    background-position: center center;
}

.main-box .left-container .label .friend-apply {
    width: 50%;
    height: 100%;
    background-image: url(../img/fri_apply_before.png);
    background-size: 28px 23px;
    background-repeat: no-repeat;
    background-position: center center;
}

.main-box .left-container .list {
    width: 100%;
    height: 547px;
    /* background-color: rgb(133, 112, 112); */
    border-radius: 0 0 0 5px;
    overflow: auto;
}

.main-box .left-container .list li {
    width: 100%;
    height: 60px;
    padding: 8px 20px;
    border-top: 1px solid black;
    color: white;
    cursor: default;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: left;
}

.main-box .left-container .list li .session-photo {
    width: 50px;
    height: 50px;
    border: 8px;
    margin-right: 10px;
}


.main-box .left-container .list li .session-photo img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.main-box .left-container #session-list li {
    position: relative;
}

.main-box .left-container #session-list li .did_num {
    position: absolute;
    right: 10px;
    bottom: 5px;
    color: rgb(165, 149, 149);
}


.main-box .left-container #session-list li .send_time {
    color: rgb(110, 100, 100);
    position: absolute;
    right: 10px;
    top: 2px;
}

.main-box .left-container .list li h3 {
    font-size: 16px;
    font-weight: normal;
}

.main-box .left-container .list li p {
    margin-top: 5px;
    font-size: 14px;
}

.main-box .left-container .list .selected {
    background-color: #3b414b;
}

.hide {
    display: none;
}

.main-box .left-container #friend-list li {
    display: flex;
    align-items: center;
    justify-content: left;
}

.main-box .left-container #friend-list h3 {
    width: 70%;
    height: 40px;
    line-height: 40px;
}

.main-box .left-container #friend-list .s-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.main-box .left-container #friend-list .s-img img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    display: none;
}

.main-box .right-container .friend-name {
    height: 45px;
    line-height: 45px;
    border-bottom: 1px solid rgb(160, 154, 154);
    text-align: center;
    font-size: 17px;
}

.main-box .right-container .message-container {
    height: 500px;
    /* background-color: hotpink; */
    overflow: auto;
}


.main-box .right-container .message-container .file-type p {
    display: flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
}

.main-box .right-container .message-container .file-type p img {
    height: 30px;
    width: 30px;
    margin-right: 20px;
}

.main-box .right-container .message-container .file-type p span {
    display: inline-block;
    background-color: pink;
    border-radius: 5px;
    padding: 5px;
}

.main-box .right-container .message-container .message-box {
    display: flex;
    margin-top: 10px;
    position: relative;
}

.main-box .right-container .message-container .message-box .detail-img {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 5px;
    top: 5px;
}


.main-box .right-container .message-container .message-box .detail-img img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.main-box .right-container .message-container .message-box .detail-img-self {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 5px;
    top: 5px;
}


.main-box .right-container .message-container .message-box .detail-img-self img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.main-box .right-container .message-container .message-box .message-detail {
    width: 460px;
    margin-left: 60px;
}

.main-box .right-container .message-container .message-self {
    justify-content: flex-end;
}

.main-box .right-container .message-container .message-self .message-detail {
    margin-right: 60px;
}

.main-box .right-container .message-container .message-it {
    justify-content: flex-start;
}

.main-box .right-container .message-container .message-box .message-detail h3 {
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    font-weight: normal;
}

.main-box .right-container .message-container .message-box .message-detail p {
    margin-top: 4px;
    padding: 12px 20px;
    background-color: white;
    border-radius: 8px;
}

.main-box .right-container .message-container .message-self .message-detail p {
    background-color: rgb(120, 206, 120);
}

.main-box .right-container .message-container .message-it .message-detail p {
    background-color: #fff;
}

.right-container #input-enter {
    display: block;
    border: none;
    outline: none;
    height: 85px;
    width: 100%;
    /* border-top: 1px solid rgb(167, 163, 163); */
    resize: none;
    background-color: #ededed;
    padding: 10px;
    font-size: 16px;
}


.right-container .fun-list {
    margin-top: 10px;

    width: 100%;
    height: 25px;
    padding-top: 5px;
    display: flex;
    border-top: 1px solid rgb(167, 163, 163);
}

.right-container .fun-list .upload-file img {
    height: 100%;
    width: 20px;
    cursor: pointer;
}



.container .main-box .right-container .send {
    width: 100%;
    height: 30px;
    overflow: auto;
    position: relative;
}

.container .main-box .right-container .send button {
    display: inline-block;
    width: 100px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid gray;
    outline: none;
    position: absolute;
    background-color: #565c69;
    color: white;
    right: 5px;
}

.container .main-box .right-container .send button:active {
    background-color: #ededed;
    color: #565c69;
}

/* 
.right-container #mess_detail {
    width: 100%;
    height: 545px;
} */


.main-box .left-container #apply-list li {
    padding: 0;
}

.main-box .left-container #apply-list li .user-search {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-box .left-container #apply-list li .user-search .a-img {
    width: 45px;
    height: 45px;
}

.main-box .left-container #apply-list li .user-search .a-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.main-box .left-container #apply-list li .user-search p {
    height: 100%;
    line-height: 50px;
    width: 120px;
    text-align: center;
    font-size: 16px;
    padding-right: 20px;
    overflow: hidden;
}

.main-box .left-container #apply-list li .user-search button {
    width: 50px;
    height: 25px;
    width: 16%;
    margin-right: 10px;
    outline: none;
    border: none;
    background-color: #43a650;
    color: white;
    border-radius: 5px;
}


.main-box .left-container #apply-list li .user-search .added {
    background-color: #878585;
}

.main-box .left-container .apply-container {
    width: 400px;
    height: 300px;
    background-color: #cbdcca;
    /* opacity: .6; */
    position: fixed;
    left: calc(50% - 200px);
    top: calc(50% - 150px);
    border-radius: 10px;
}


.main-box .left-container .apply-container .apply-detail {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-box .left-container .apply-container textarea {
    resize: none;
    width: 200px;
    height: 130px;
    font-size: 16px;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 10px;
    background-color: #eaf3e9;
}

.main-box .left-container .apply-container button {
    width: 60px;
    height: 30px;
    margin-left: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.main-box .left-container .apply-container #close {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #dcc9c9;
    text-align: center;
    list-style: 20px;
    border-radius: 10px;
    cursor: pointer;
    top: 0;
    left: 380px;
}


.main-box .left-container #apply-list .explain {
    border-top: 1px solid black;
    margin-top: 10px;
    padding-top: 15px;
    padding-bottom: 8px;
    text-align: center;
    color: rgb(157, 145, 145);
}

.main-box .left-container #apply-list .apply-li .user-search {
    display: flex;
    justify-content: center;
    align-items: left;
}


.main-box .left-container #apply-list .apply-li .user-search .apply-img {
    width: 50px;
    height: 50px;
    /* margin-right: 10px; */
    margin-left: 20px;
}

.main-box .left-container #apply-list .apply-li .user-search .apply-img img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.main-box .left-container #apply-list .apply-li .user-search p {
    line-height: 55px;
    color: #43a650;
    font-size: 18px;
    width: 90px;
}

.main-box .left-container #apply-list .apply-li .user-search button {
    cursor: pointer;
    width: 50px;
    height: 30px;
    margin-bottom: 30px;
}


.main-box .left-container #apply-list .apply-li {
    height: 90px;
    position: relative;
}

.main-box .left-container #apply-list .apply-li #reason {
    position: absolute;
    background-color: #222b34;
    height: 30px;
    width: 180px;
    margin-left: 60px;
    color: white;
    border: none;
    outline: none;
    top: 50px;
    padding-left: 10px;
    border-radius: 5px;
}